package ooday04;

public class FinalDemo {
}
class Eoo{
    int a=10;
    public int b=20;
    void show(){
        a=20;
        b=100;
        final int c = 8;
        //c=99;  编译错误;
    }
}
class Aoo{
    final void show(){}
    void test(){}
}
class Boo extends Aoo{
    //void show(){}
void test(){}
}

final class Coo extends Boo{
    void show1(){
    }
}
/*class Doo extends Coo{
    void show1() {}
}*/

